<?php $hdtp=dr_site_value('hdtp');?>
<?php $sydbkslj=dr_site_value('sydbkslj');?>
<?php $aboutusyzt=dr_site_value('aboutusyzt');?>
<?php $aboutusy_ggsjs=dr_site_value('aboutusy_ggsjs');?>
<?php $sytjfl=dr_site_value('sytjfl');?>
<?php $dirname=dr_share_cat_value($cat['pid'], 'name');?>
<?php $dirurl=dr_share_cat_value($cat['pid'], 'url');?>
<?php $lxfs=dr_site_value('lxfs');?>
<?php $shemeixinxi=dr_site_value('shemeixinxi');?>
<?php
if(empty($_COOKIE['language'])){
$language='en';
}
$language = $_COOKIE['language'];
?>
<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta name="viewport"
        content="width=device-width, initial-scale=1, minimum-scale=1, user-scalable=no , maximum-scale=1">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1,IE=10">
    <meta content="telephone=no" name="format-detection">
    <link rel="stylesheet" type="text/css" href="{HOME_THEME_PATH}css/iconfont.css">
    <link rel="stylesheet" type="text/css" href="https://demo.waimaoniu.com/n77/css/aos.css">
    <link rel="stylesheet" type="text/css" href="{HOME_THEME_PATH}css/style.css">
    <script type="text/javascript" src="{HOME_THEME_PATH}js/jquery.min.js"></script>
    <title>{usu_fanyi($seo_title, $language)}</title>
    <meta content="{usu_fanyi($meta_keywords, $language)}" name="keywords" />
    <meta content="{usu_fanyi($seo_des, $language)}" name="description" />
    <!-- 系统懒人版js(所有自建模板引用) -->
    <script type="text/javascript">
        var is_mobile_cms = '{IS_MOBILE}';
        var web_dir = '{WEB_DIR}';
    </script>
    <script src="{LANG_PATH}lang.js" type="text/javascript"></script>
    <script src="{THEME_PATH}assets/global/plugins/jquery.min.js" type="text/javascript"></script>
    <script src="{THEME_PATH}assets/js/cms.js" type="text/javascript"></script>
    <!-- 系统懒人版js结束 -->
    <!-- 多语言js -->
    <script type="text/javascript">
        function language(e) {
            var cookies = document.cookie.split(";");
            for (var i = 0; i < cookies.length; i++) {
                var cookie = cookies[i];
                while (cookie.charAt(0) == " ") {
                    cookie = cookie.substring(1);
                }
                if (cookie.indexOf("=") != -1) {
                    var name = cookie.substring(0, cookie.indexOf("="));
                    document.cookie = name + "=;expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/";
                }
            }
            document.cookie = 'language=' + e + ';path=/';
            document.cookie = 'language=' + e + ';path=/zh';
            location.reload();
        }
    </script>
    {SITE_TONGJI}
</head>

<body class="homepage">
    <div class="main">
        <!-- HEADER START -->
        <header class="header-box">

            <div class="header-middle">
                <div class="header-inner">
                    <div class="header-logo">
                        <div class="header-logo-box">
                            <a href="/"><img alt="Gecko" src="{SITE_LOGO}"></a>
                        </div>
                    </div>
                    <div class="header-inner-right">
                        <div class="header-contact">
                            <ul>
                                <?php if ($lxfs) { $key=0; foreach ($lxfs as $v) { ?>
                                <li class="website-mailbox">{$v[1]}
                                    <a href="{$v[3]}" target="_blank">{$v[2]}</a></li>
                                <?php  $key++; } } ?>
                            </ul>
                        </div>
                    </div>

                    <div class="social-link">
                        <?php if ($shemeixinxi) { $key=0; foreach ($shemeixinxi as $v) { ?>
                        <a href="{$v[3]}" class="{$v[2]}" target="_blank" style="display: flex;justify-content: center;align-items: center;">
                            {$v[1]}
                        </a>
                        <?php  $key++; } } ?>
                    </div>

                    <!--<div class="company-motto">
                	<div class="company-motto-p"><p>Guaranteeing the highest quality products has always been our pursuit</p></div>
                </div>-->
                </div>
                <div class="clear"></div>
            </div>
            <!--导航栏-->
            <div id="fixedMenu">
                <div class="header-inner">
                    <div class="language">
                        <div class="cur">
                            {if $language =='en'}
                            <e class="en">
                                <i class="iconflag flag-en"></i>English<i class="iconfont">&#xe635;</i>
                            </e>
                            {else if $language =='spa'}
                            <e class="es">
                                <i class="iconflag flag-es"></i>España<i class="iconfont">&#xe635;</i>
                            </e>
                            {else if $language =='de'}
                            <e class="de">
                                <i class="iconflag flag-de"></i>Deutsch<i class="iconfont">&#xe635;</i>
                            </e>
                            {else if $language =='pt'}
                            <e class="pt">
                                <i class="iconflag flag-pt"></i>Português<i class="iconfont">&#xe635;</i>
                            </e>
                            {else if $language =='fra'}
                            <e class="fr">
                                <i class="iconflag flag-fr"></i>Français<i class="iconfont">&#xe635;</i>
                            </e>
                            {else}
                            <e class="en">
                                <i class="iconflag flag-en"></i>English<i class="iconfont">&#xe635;</i>
                            </e>
                            {/if}
                            <ul class="language-list">
                                <li><a href="#" title="English" onclick="language('en')" class="en">English</a></li>
                                <li><a href="#" title="España" onclick="language('spa')" class="es">España</a></li>
                                <li><a href="#" title="Deutsch" onclick="language('de')" class="de">Deutsch</a></li>
                                <li><a href="#" title="Português" onclick="language('pt')" class="pt">Português</a></li>
                                <li><a href="#" title="Français" onclick="language('fra')" class="fr">Français</a></li>
                            </ul>
                        </div>
                    </div>
                    <div class="header-search">
                        <form name="formsearch" id="searchform" action="{WEB_DIR}index.php" method="get">
                            <div class="search-box">
                                <input type="hidden" name="s" value="api">
                                <input type="hidden" name="c" value="api">
                                <input type="hidden" name="m" value="search">
                                <input type="hidden" name="dir" value="news" >
                                <input class="input-text" placeholder="Search entire store here..." type="text" name="keyword" id="keyword">
                                <button class="search-btn" type="submit"><i class="iconfont">&#xe6c9;</i></button>
                            </div>
                        </form>
                    </div>
                    <script>
                    // 这段js是用来执行搜索的
                    function dr_search_module_select(dir, name) {
                        $("#dr_search_module_dir").val("news");
                        $("#dr_search_module_name").html(name + ' <i class="fa fa-angle-down"></i>');
                    }
                    dr_search_module_select('{php echo MOD_DIR ? MOD_DIR : $top_search.dirname}', '{php echo MOD_DIR ? MODULE_NAME : $top_search.name}');
                    </script>
                    <nav class="main-nav" role="navigation">
                        <!-- Mobile menu toggle button (hamburger/x icon) -->
                        <input id="main-menu-state" type="checkbox">
                        <label class="main-menu-btn" for="main-menu-state">
                            <span class="main-menu-btn-icon"></span>
                        </label>
                        <!-- Sample menu definition -->
                        <ul id="main-menu" class="sm sm-blue">
                            <li class="current"><a href="/">Home</a></li>
                            {category module=share pid=0 return=t}
                            <li>
                                <a href="{dr_url_rel($t.url, SITE_URL)}">{usu_fanyi($t.name, $language)}</a>
                                {if $t.child}
                                <ul>
                                    {category module=share pid=$t.id return=t2}
                                    <li>
                                        <a href="{dr_url_rel($t2.url, SITE_URL)}">{usu_fanyi($t2.name, $language)}</a>
                                        {if $t2.child}
                                        <ul>
                                            {category module=share pid=$t.id return=t3}
                                            <li>
                                                <a href="{dr_url_rel($t3.url, SITE_URL)}">{usu_fanyi($t3.name, $language)}</a>
                                            </li>
                                            {/category}
                                        </ul>
                                        {/if}
                                    </li>
                                    {/category}
                                </ul>
                                {/if}
                            </li>
                            {/category}
                        </ul>
                    </nav>
                </div>
            </div>
            <!--导航栏结束-->

        </header>
        <!-- HEADER END -->
        <div class="inner-page-main">
            <div class="inner-page-middle">
                <div class="bread-crumb">
                    <ul>
                        <li><a href="/">Home</a></li>{dr_catpos($catid,'',true,' <li>></li><li><span><a href="[url]">[name]</a></span></li>')}
                    </ul>
                </div>
                <div class="inner-page-content">
                    <div class="inner-page-r" aos="fade-left" aos-easing="ease" aos-delay="100">
                        <div class="product-details">
                            <div class="product-page-plan">
                                <section class="cntr">
                                    <ul class="pgwSlideshow">
                                        <li>
                                            <a href="{dr_get_file($thumb)}"><img src="{dr_get_file($thumb)}"></a>
                                        </li>
                                        <?php if ($cpxqylbt) { $key=0;foreach ($cpxqylbt as $c) { ?>
                                        <li>
                                            <a href="{dr_get_file($c.file)}"><img src="{dr_get_file($c.file)}"></a>
                                        </li>
                                        <?php $key++;} } ?>
                                    </ul>
                                </section>
                            </div>
                            <div class="product-attributes">
                                <div class="product-attributes-box">
                                    <div class="product-name">{usu_fanyi($title, $language)}</div>
                                    <div class="product-attributes-item">
                                        {usu_fanyi($canshu, $language)}
                                    </div>

                                    <div class="product-detail-annex">
                                        <div class="pro-email-icon"><a href="/contact/" title="Email"><i
                                                    class="iconfont">&#xe624;</i>Send Email</a></div>
                                    </div>

                                </div>
                            </div>

                        </div>
                        <div class="product-information">
                            <section class="product-information-content">
                                <div class="product-information-t">
                                    <h1>Cross Colours Camo Print Tank half mengo details</h1>
                                </div>
                                <div class="product-information-box">
                                    {usu_fanyi($content, $language)}
                                </div>
                            </section>

                            <div class="related-products">
                                <div class="related-products-c">
                                    <div class="related-products-t"><span>Related Products</span></div>
                                    <ul>
                                        {module module=news catid=$catid num=0,4}
                                        <li>
                                            <div class="item">
                                                <div class="image">
                                                    <a href="{dr_url_rel($t.url, SITE_URL)}">
                                                        <img src="{dr_get_file($t['thumb'])}" alt="">
                                                    </a>
                                                </div>
                                                <div class="item-name">
                                                    <a href="{dr_url_rel($t.url, SITE_URL)}">
                                                        <div class="text">{usu_fanyi($t['title'], $language)}</div>
                                                    </a>
                                                </div>
                                            </div>
                                        </li>
                                        {/module}
                                    </ul>
                                </div>
                            </div>
                        </div>
                        {template nav_contact.html}
                    </div>
                    {template nav.html}
                </div>
            </div>
            <!--FOOTER -->
            {template footer.html}
            <script>
                //手机端底部折叠
                $('.sidebar-block-but').on("click", function () {
                    $(".sidebar-box").toggleClass("expand");
                    $(this).toggleClass("expand");
                })
                $('.footer-content-but').on("click", function () {
                    $(".footer-main").toggleClass("expand");
                    $(this).toggleClass("expand");
                })
            </script>
            <!-- END FOOTER -->
        </div>
    </div>
    <!--返回顶部-->
    <div class="scroll" id="scroll" style="display:none;">
        <i class="iconfont">&#xe637;</i>
    </div>
</body>
<script src="{HOME_THEME_PATH}js/jquery-1.12.3.min.js"></script>
<!--动态加载-->
<script src="{HOME_THEME_PATH}js/wow.js" id="WOW"></script>
<script>
    new WOW().init();
</script>
<!--轮播图-->
<script src="{HOME_THEME_PATH}js/owl.carousel.min.js"></script>
<script src="{HOME_THEME_PATH}js/custom.js"></script>

<script>
    /* ------------ Newslater-popup JS Start ------------- */
    $(window).load(function () {
        $.magnificPopup.open({
            items: {
                src: '#newslater-popup'
            },
            type: 'inline'
        }, 0);
    });
    /* ------------ Newslater-popup JS End ------------- */
</script>
<!--菜单栏js-->
<!-- SmartMenus jQuery plugin -->
<script type="text/javascript" src="{HOME_THEME_PATH}js/jquery.smartmenus.js"></script>
<!-- SmartMenus jQuery init -->
<script type="text/javascript">
    // SmartMenus init
    $(function () {
        $('#main-menu').smartmenus({
            subMenusSubOffsetX: 1,
            subMenusSubOffsetY: -8
        });
    });

    // SmartMenus mobile menu toggle button
    $(function () {
        var $mainMenuState = $('#main-menu-state');
        if ($mainMenuState.length) {
            // animate mobile menu
            $mainMenuState.change(function (e) {
                var $menu = $('#main-menu');
                if (this.checked) {
                    $menu.hide().slideDown(250, function () {
                        $menu.css('display', '');
                    });
                } else {
                    $menu.show().slideUp(250, function () {
                        $menu.css('display', '');
                    });
                }
            });
            // hide mobile menu beforeunload
            $(window).bind('beforeunload unload', function () {
                if ($mainMenuState[0].checked) {
                    $mainMenuState[0].click();
                }
            });
        }
    });
</script>
<!--导航栏置顶固定-->
<script>
    $(function () {
        var ie6 = document.all;
        var dv = $('#fixedMenu'),
            st;
        dv.attr('otop', dv.offset().top); //存储原来的距离顶部的距离 
        $(window).scroll(function () {
            st = Math.max(document.body.scrollTop || document.documentElement.scrollTop);
            if (st > parseInt(dv.attr('otop'))) {
                if (ie6) { //IE6不支持fixed属性，所以只能靠设置position为absolute和top实现此效果 
                    dv.css({
                        position: 'absolute',
                        top: st
                    });
                } else if (dv.css('position') != 'fixed') dv.css({
                    'position': 'fixed',
                    top: 0
                });
                dv.addClass("top-fixed")
                $('.inner-page-main').addClass("mh")
            } else if (dv.css('position') != 'static') {
                dv.css({
                    'position': 'static'
                });
                dv.removeClass("top-fixed")
                $('.inner-page-main').removeClass("mh")
            }
        });
    });
</script>
<!--banner-->
<script src="{HOME_THEME_PATH}js/jquery.flexslider-min.js"></script>
<script type="text/javascript">
    $('.flexslider').flexslider();
</script>

<!--返回顶部-->
<script type="text/javascript">
    $(function () {
        showScroll();

        function showScroll() {
            $(window).scroll(function () {
                var scrollValue = $(window).scrollTop();
                scrollValue > 100 ? $('div[class=scroll]').fadeIn() : $('div[class=scroll]').fadeOut();
            });
            $('#scroll').click(function () {
                $("html,body").animate({
                    scrollTop: 0
                }, 200);
            });
        }
    })
</script>
<!--产品折叠列表-->
<script type="text/javascript" src="{HOME_THEME_PATH}js/sidebar-product.js"></script>
<script type="text/javascript">
    $(function () {
        initSidebarClicker('span', '+', '-')
    })
</script>
<!--产品详情页图片展示-->
<script type="text/javascript" src="{HOME_THEME_PATH}js/product_slide.js"></script>
<script type="text/javascript">
    console.log($('.ps-current [class^="elt"]').length)
    $('.ps-current [class^="elt"]').zoom()
</script>
<script type="text/javascript" src="{HOME_THEME_PATH}js/jquery.lightbox-0.5.js"></script>
<script>
    $('.ps-current a').lightBox();
</script>
<!--证书图片点击放大-->
<!-- 设计：Q/微：595894985 -->
<script src="{HOME_THEME_PATH}js/jquery.fancybox.min.js"></script>

<!--页面出厂动画-->
<script type="text/javascript" src="{HOME_THEME_PATH}js/main.js"></script>
<script type="text/javascript" src="{HOME_THEME_PATH}js/aos.js"></script>
<script type="text/javascript">
    AOS.init({
        easing: 'ease-out-back',
        duration: 1000
    });
</script>

</html>